var message = 'You are using Internet Explorer. This browser is not yet supported.';
var browserCheck = (document.all) ? 1 : 0; 
        
if( browserCheck > 0 )  
{
    document.getElementById('warning').innerHTML = message;
}